package com.doit.dict.page;/**
 * Created by hunter.coder 涛哥
 * 2019/4/9 9:54
 * 交流qq:657270652
 * Version: 1.0
 * 更多学习资料：https://blog.csdn.net/coderblack/
 * Description:
 **/

import java.io.*;

/**
 * @Author hunter.coder
 * @Date 2019/4/9 9:54
 * @Version 1.0
 * @Description TODO
 **/
public class PageId {

    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new FileReader("D:\\dev-workspace\\eagle\\datagenerator\\dicts\\items.txt"));
        BufferedWriter bw = new BufferedWriter(new FileWriter("D:\\dev-workspace\\eagle\\datagenerator\\dicts\\pages.txt"));
        String line = null;
        int i = 100;
        while((line=br.readLine())!=null){
            String[] split = line.split("\001");
            bw.write(line+"\001"+i++);
            bw.newLine();
        }

        bw.close();
        br.close();
    }
}
